<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/24 0024
 * Time: 13:00
 */
$dom =  new XMLWriter();

$html = $dom->addRoot('html');